package com.salesmanager.web.admin.init.data;

import com.salesmanager.core.business.generic.exception.ServiceException;
import com.salesmanager.core.business.user.service.GroupService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.encoding.PasswordEncoder;
import org.springframework.stereotype.Component;

@Component
public class InitStoreData implements InitData {

    private static final Logger LOGGER = LoggerFactory.getLogger(InitStoreData.class);

    @Autowired
    private PasswordEncoder passwordEncoder;

    @Autowired
    protected GroupService groupService;

    public void initInitialData() throws ServiceException {


//        LOGGER.info("Starting the initialization of test data");
//        Date date = new Date(System.currentTimeMillis());


        LOGGER.info("Ending the initialization of test data");

    }


}
